package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalTime;


/**
 * 分时电价
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = true)
@TableName("ecp_tt_hour_electricity_price")
public class HourElectricityPriceEntity extends BaseTenantEntity {

    private String sceneProjectId;

    /* 时段开始时间 */
    private LocalTime startTime;

    /* 时段结束时间 */
    private LocalTime endTime;

    /* 电价 */
    private BigDecimal price;

    /* 峰谷类型 */
    private String peakValleyType;

    /* 生效开始时间 */
    private LocalDate startDate;

    /*生效结束时间*/
    private LocalDate endDate;
}
